Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My node.js
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

A Clean Project Structure for TypeScript and Node.js API Services

A Clean Project Structure for TypeScript and Node.js API Services

Blog Summary

Node gives you no folder structure, so every API ends up shaped differently. Here's a simple layout that scales: routes, services and repositories, validated config, typed errors, Jest tests that don't need a server, and a lean Dockerfile.

Read more
  • 34
  • 52
  • 15

Concurrency vs Parallelism, Explained With a Kitchen

Concurrency vs Parallelism, Explained With a Kitchen

Blog Summary

One cook can serve dinner for six by never standing still while the water boils. That's concurrency. A kitchen in four scenes, with Node and Laravel examples, and how to tell which one your slow code needs.

Read more
  • 135
  • 54
  • 6

The JavaScript Event Loop Explained: Why setTimeout(0) Isn't Instant

The JavaScript Event Loop Explained: Why setTimeout(0) Isn't Instant

Blog Summary

Predict the output of five lines of JavaScript and most people get it wrong. The call stack, task queue and microtasks explained with one kitchen analogy, plus the Node.js details that trip people up.

Read more
  • 143
  • 128
  • 7

Processes vs Threads vs Async: How Servers Handle Many Users at Once

Processes vs Threads vs Async: How Servers Handle Many Users at Once

Blog Summary

Why can one slow API call take down a PHP site, while one heavy loop freezes a Node app? Processes, threads and the event loop explained with a restaurant kitchen, plus the failure mode each one has.

Read more
  • 56
  • 14
  • 16

Five JavaScript Async Mistakes That Bite Even Experienced Developers

Five JavaScript Async Mistakes That Bite Even Experienced Developers

Blog Summary

async/await makes code read top to bottom, but it doesn't always run that way. Missing awaits, forEach with async, needless sequential calls, unhandled rejections and race conditions: what goes wrong and the fix for each.

Read more
  • 31
  • 111
  • 6

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close